package com.toocms.jinjuhang.ui.mine.bank_card

import com.toocms.jinjuhang.R
import com.toocms.jinjuhang.BR
import com.toocms.jinjuhang.databinding.FgtBankCardListBinding
import com.toocms.jinjuhang.ui.base.BaseFgt

class BankCardListFgt : BaseFgt<FgtBankCardListBinding, BankCardListModel>() {
    override fun onFragmentCreated() {
        topBar.setTitle(R.string.str_bank_card_list)
    }

    override fun getLayoutResId() = R.layout.fgt_bank_card_list

    override fun getVariableId() = BR.bankCardListModel

    override fun viewObserver() {
        viewModel.stopRefreshSingleLiveEvent.observe(this) {
            binding.refreshSrl.finishRefresh()
        }
    }
}